kill @e[tag=hub.menuEntity,type=!marker]

##Create SonEntity

#Start Game
execute positioned ^ ^ ^3.25 summon item_display run function vs:system/hub/menu/init/main/start_game
execute positioned ^ ^ ^3.25 summon text_display run function vs:system/hub/menu/init/main/start_game-text

#Random Team
execute rotated ~20 ~ positioned ^ ^0.5 ^3.25 summon item_display run function vs:system/hub/menu/init/main/random_team
execute rotated ~20 ~ positioned ^ ^0.5 ^3.25 summon text_display run function vs:system/hub/menu/init/main/random_team-text

#Gamerule Settings
execute rotated ~-20 ~ positioned ^ ^0.5 ^3.25 summon item_display run function vs:system/hub/menu/init/main/gamerule_settings
execute rotated ~-20 ~ positioned ^ ^0.5 ^3.25 summon text_display run function vs:system/hub/menu/init/main/gamerule_settings-text

data modify entity @s data.menu set value "generic"